package com.ruoyi.media.channelsMail.service;

import com.ruoyi.media.channelsMail.domain.MediaChannelsMail;
import com.ruoyi.media.channelsMail.domain.vo.MediaChannelsMailVo;
import com.ruoyi.media.channelsMail.domain.bo.MediaChannelsMailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 视频号小店开通Service接口
 *
 * @author dqw
 * @date 2023-04-01
 */
public interface IMediaChannelsMailService {

    /**
     * 查询视频号小店开通
     */
    MediaChannelsMailVo queryById(Long id);

    /**
     * 查询视频号小店开通列表
     */
    TableDataInfo<MediaChannelsMailVo> queryPageList(MediaChannelsMailBo bo, PageQuery pageQuery);

    /**
     * 查询视频号小店开通列表
     */
    List<MediaChannelsMailVo> queryList(MediaChannelsMailBo bo);

    /**
     * 新增视频号小店开通
     */
    Boolean insertByBo(MediaChannelsMailBo bo);

    /**
     * 修改视频号小店开通
     */
    Boolean updateByBo(MediaChannelsMailBo bo);

    /**
     * 校验并批量删除视频号小店开通信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
